package p270jp.pxv.android.viewholder;

import android.view.ViewTreeObserver;
import p270jp.pxv.android.viewholder.NovelSeriesDetailHeaderSolidItem;

/* compiled from: NovelSeriesDetailHeaderSolidItem.kt */
/* renamed from: jp.pxv.android.viewholder.NovelSeriesDetailHeaderSolidItem$NovelSeriesDetailHeaderViewHolder$onBindViewHolder$1 */
/* loaded from: classes2.dex */
public final class ViewTreeObserver$OnGlobalLayoutListenerC4398xd00f7313 implements ViewTreeObserver.OnGlobalLayoutListener {
    public final /* synthetic */ NovelSeriesDetailHeaderSolidItem.NovelSeriesDetailHeaderViewHolder this$0;

    public ViewTreeObserver$OnGlobalLayoutListenerC4398xd00f7313(NovelSeriesDetailHeaderSolidItem.NovelSeriesDetailHeaderViewHolder novelSeriesDetailHeaderViewHolder) {
        this.this$0 = novelSeriesDetailHeaderViewHolder;
    }

    @Override // android.view.ViewTreeObserver.OnGlobalLayoutListener
    public void onGlobalLayout() {
        this.this$0.binding.f22398q.getViewTreeObserver().removeOnGlobalLayoutListener(this);
        if (this.this$0.binding.f22398q.getLineCount() < 10) {
            this.this$0.binding.f22404w.setVisibility(8);
        }
    }
}
